@font-face {
  font-family: "DIN";
  src: url(../font/DIN.ttf);
}

@font-face {
  font-family: "DINPro-Black";
  src: url(../font/DINPro-Black.otf);
}

@font-face {
  font-family: Ethnocentric;
  src: local("Ethnocentric"), url(../font/ethnocentric.ttf) format("truetype");
}

@font-face {
  font-family: Inter-Regular;
  src: url(../font/Inter-Regular.ttf);
}

html {
  background: #000;
}
#app {
  height: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.routerLink {
  transition: all 0.2s ease-in-out;
  overflow-x: hidden;
}

.slide-left-enter,
.slide-right-leave-active {
  opacity: 0;
  -webkit-transform: translate(50%, 0);
  transform: translate(50%, 0);
  -moz-transform: translate(50%, 0);
  -ms-transform: translate(50%, 0);
  -o-transform: translate(50%, 0);
}

.slide-left-leave-active,
.slide-right-enter {
  opacity: 0;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.trans-side-enter-active,
.trans-side-leave-active {
  transition: all 0.5s ease;
}

.trans-side-enter-from,
.trans-side-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

.trans-up-enter-active,
.trans-up-leave-active,
.trans-down-leave-active,
.trans-down-leave-active {
  transition: all 0.2s ease;
  position: absolute;
  width: 100%;
}

.trans-up-enter-from,
.trans-up-leave-to {
  opacity: 0;
  transform: translateY(30px);
}
.trans-down-enter-from,
.trans-down-leave-to {
  opacity: 0;
  transform: translateY(-30px);
}

img {
  max-width: 100%;
  object-fit: contain;
}


.van-button {
  min-width: 54px;
}

.icon12 {
  width: 12px;
  height: 12px;
}

.van-overlay {
  z-index: 2000;
}

.getAble {
  animation: 1s linear infinite getAble;
  transform: scale(1.1);
}
@keyframes getAble {
  0% {
    transform: scale(1.1) rotate(0deg);
  }
  15% {
    transform: scale(1.1) rotate(-15deg);
  }
  30% {
    transform: scale(1.1) rotate(15deg);
  }
  45% {
    transform: scale(1.1) rotate(-15deg);
  }
  60% {
    transform: scale(1.1) rotate(15deg);
  }
  75% {
    transform: scale(1.1) rotate(0deg);
  }
  100% {
    transform: scale(1.1) rotate(0deg);
  }
}

.van-nav-bar--fixed::after {
  display: none;
}

.redText {
  color: #fca5a5;
}
